﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using iSufeMVC4.Core;
using iSufeMVC4.SufeAPI;

namespace iSufeMVC4.Areas.Eams.Controllers
{
    public class StudentCourseTableController : Controller
    {
        //
        // GET: /Eams/StudentCourseTable/

        public ActionResult Index()
        {
            return View();
        }

        public ActionResult Search()
        {
            return View();
        }

        public ActionResult Display()
        {
            string StdCode = Request.Form["StdCode"].ToString();
            int CalendarId = Convert.ToInt32(Request.Form["CalendarId"]);

            StudentCourseTable info = EamsService.getStudentCourseTable(StdCode, CalendarId);
            return View(info);
        }

    }
}
